home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 40 / PC Gamer IT CD 40 1-2.iso / ELINK / CLARISHP / _SETUP.1 / HOMEPAGE.exe / 1009 / 1001 < prev    next >
Text File  |  1997-02-20  |  3KB  |  113 lines

  1. // -----
  2. // VDL1001.txt
  3. // Copyright 1996 SPI
  4. // -----
  5.  
  6.  
  7. //Standard Checked Warning Dialog
  8.  
  9.  
  10.  
  11. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  12. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  13. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  14.  
  15. //This section contains all localizable string constants for this VDL program. Be sure to 
  16. //include the backslash character at the end of each line of a multi-line string, except for the last line.
  17. //You may also flatten multiline constants into a single line, if you prefer
  18.  
  19.  
  20. #define kLit1 "Never show this warning again  "
  21. #define kLit2 "OK"
  22.  
  23. //Localized Fonts
  24.  
  25. #if Platform_Mac
  26.     #define DisplayFont {Geneva, 10, {Plain} }
  27. #else
  28.     #define DisplayFont SystemFont
  29. #endif
  30.  
  31.  
  32. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  33. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  34. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  35.  
  36.  
  37.  
  38. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  39. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  40. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  41.  
  42. //This section contains integer constants that are used to format this VDL program.
  43. //These are localizable - they only need to be changed if the localized strings 
  44. //are sufficiently longer than the US strings. Localize the strings first, then the constants.
  45.  
  46. #ifndef MESSAGE_WIDTH 
  47. #define MESSAGE_WIDTH 260
  48. #endif
  49.  
  50. #if Platform_Mac
  51. #define kOKButtonWidth 70
  52. #else
  53. #define kOKButtonWidth 100
  54. #endif
  55.  
  56. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  57. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  58. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  59.  
  60. //No further localizable data past this point
  61.  
  62. /************************** END LOCALIZABLE DATA ***************************************************/
  63. /************************** END LOCALIZABLE DATA ***************************************************/
  64. /************************** END LOCALIZABLE DATA ***************************************************/
  65.  
  66. #ifndef WANT_CANCEL
  67. #define WANT_CANCEL 0 
  68. #endif
  69.  
  70. #if Platform_Mac
  71.     #define dlogBack BackColor = {65535, 65535, 65535}
  72. #else
  73.     #define dlogBack BackColor = Dialog
  74. #endif
  75.  
  76. #define EH EnabledHelpString =
  77.  
  78.  
  79. Margin(10, 10, 10, 10, dlogBack)
  80. VList()
  81.     {
  82.     HList()
  83.         {
  84.         #if Platform_Mac
  85.         Margin(12,4,15,0)
  86.             ICON(1000);
  87.         #endif
  88.         
  89.         Spacer(Width = 10, Height = 0);
  90.         VList()
  91.             {
  92.             Spacer(Width = 0, Height = 2);
  93.             StaticText(warningMessage, Width = MESSAGE_WIDTH);
  94.             
  95.             Spacer(Width = 0, Height = 7);
  96.             CheckBox(kLit1, neverShowAgain);
  97.             }
  98.         }
  99.     
  100.     Spacer(Width = 0, Height = 11);
  101.     
  102.     #if WANT_CANCEL
  103.     StandardDialogButtonsH;        
  104.     #else
  105.     HList(Width = UseParent)
  106.         {
  107.         Spacer(Width = UseParent, Height = 0);        
  108.         DefaultButton(kLit2, 1071, "None", Width = kOKButtonWidth);
  109.         }
  110.     #endif
  111.     }
  112.  
  113.